Part Number Hot Search : 
ON1399 15SQ030 SI4711 PD104 IRLZ34N MCR25 AD103 OB2269
Product Description
Full Text Search
 

To Download AN2786 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  june 2008 rev 1 1/10 AN2786 application note steval-ihi001v1 demonstration board: washing machine user interface based on th e st7lite49m and stled316s introduction the steval-ihi001v1 is a demonstration board designed to simulate the user interface of a modern washing machine. the board is based on the low-cost 8-bit st7lite49m microcontroller equipped with an i2c bus interface, and the stled316s serial interfaced 6-digit led controller with key-scan. the demonstration board is designed to work as a stand-alone application, or as a motherboard for the steval-ihi002v1 daughter board, which features the stmpe1208s capacitive sensing device and can be plugged into the steval-ihi001v1 to operate as a capacitive single touch keyboard. www.st.com
contents AN2786 2/10 contents 1 stled316s: serial interfaced led controller with key- scan . . . . . . . . 3 2 demonstration board application schematic . . . . . . . . . . . . . . . . . . . . . 4 3 bill of material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 4 steval-ihi001v1 demonstration board photos . . . . . . . . . . . . . . . . . . 7 5 references and related materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 6 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
AN2786 stled316s: serial interfaced led controller with key-scan 3/10 1 stled316s: serial interfaced led controller with key-scan the device used for the washing machine user interface is a compact led controller and driver. it interfaces with the mcu thro ugh a simple 3-wire serial interface. the stled316s drives up to 56 leds connected in a common anode configuration. individual digits may be addressed and updated directly, without re-writing the entire display panel. the maximum segment current is set through a single external resistor (r set ). additionally, the stled316s includes key scanning for an 8x2 key matrix, which automatically scans a matrix of up to 16 keys. figure 1. product application diagram example the stled316s is equipped with an internal display ram memory to store the data transmitted from the mcu through the serial interface. the device is programmed through a variety of read/write commands that permit the user to set the display panel and manage the keyboard. to avoid scanning the keyboard repeatedly sear ching for a pressed key, an additional irq signal can be connected to the mcu. an interrupt is generated whenever a key is pressed.
demonstration board application schematic AN2786 4/10 2 demonstration board application schematic the demonstration board power supply is designed using a l5970d step-down switching regulator. the input supply voltage may vary in the range of 5 v to 30 vdc, allowing the user to connect a standard ac notebook computer power supply. the input is reverse- polarity protected (d6), and over-voltage protected (tr1). the power supply output voltage is set at 5 vdc by mean of 2 resistors (r2, r3). the st7lite49m mcu (u2) runs at 8 mhz by means of an in ternal oscillator, avoiding the need for any external components. pull-up resistors r10 and r11 are used for the i2c bus, while r12 and r13 prevent the mcu from entering the programming mode unintentionally. finally, r14 and r15 set the working mode (md1, md2 at logic 1 is "standalone mode"). the leds, display and keyboard are entirely managed through u3, (stled316s). 8 segment lines are multiplexed with 7 digit lines, allowing a total of 56 leds (in a common anode configuration) to be controlled by a single stled316s device. r4 sets the led peak current. communication between the mcu and the stled316s is achieved by means of 3 pins: data input/output (dio), clock (clk) and strobe (stb). an extra irq pin generates an interrupt request any time a key on the keyboard is pressed. the demonstration board is equipped with connectors j3 and j4 to allow connection to the steval-ihi002v1 daughter demonstration board. the board is also equipped with icc programming connector j2 to program the mcu in-circuit. an extra i2c bus connector (j5) is foreseen to eventually connect other boards or devices via i2c bus.
AN2786 demonstration board application schematic 5/10 figure 2. demonstration board application schematic dl25 dl26 osc2 11 vssa 12 vdda 13 ain0/pb0 14 ckin/ain1/pb1 15 pc2/iccdata 24 pc1/ain9 23 pc0/ain8 22 pb7/ain7 21 pb6/ain6 20 pb5/ain5 19 pb4/ain4 18 vss 9 osc1/clkin 10 pa2(hs)/atpwm 32 pa1(hs)/atic 31 ain2/pb2 16 pa0(hs) 30 pc7/break 29 pc6 28 pc5 27 pc4/ltic 26 pc3/iccclk 25 pb3/ain3 17 atpwm1/pa3(hs) 1 atpwm2/mco/pa4(hs) 2 atpwm3/pa5(ha) 3 i2cdata/pa6(hs) 4 i2cclk/pa7(hs) 5 reset 6 nc 7 vdd 8 u2 st7fli49mk1t6 dl27 dl28 dl30 dl29 dl31 s-touch stand alone qst dig4 d1 1n4148 iccd dig6 11 dig7 12 seg8/ks8 13 seg7/ks7 14 seg6/ks6 15 iset 24 key 1 23 key 2 22 seg1/ks1 21 seg2/ks2 20 seg3/ks3 19 seg4/ks4 18 vcc 9 dig5 10 seg5/ks5 16 gnd 17 din/dout 1 clk 2 stb 3 irq_n 4 dig1/led 5 dig2 6 dig3 7 dig4 8 u3 stled316s r14 10k 5% r15 10k 5% +vdd dig7 d2 1n4148 c6 100nf c7 100nf dig3 tr 1 smaj33a-tr md 1 c8 10nf dig5 d3 1n4148 d4 1n4148 md 2 d5 1n4148 1 2 3 4 5 6 7 8 9 10 j5 con10a +vdd dig6 key 2 +vdd buz dig7 +vdd gint r10 4k7 5% tp2 +vdd 1 2 3 4 5 6 7 8 9 10 j4 con10 r11 4k7 5% dl32 dig2 tp4 seg2 seg1 seg3 r12 10k 5% seg4 i2cd +vdd 1 2 bz1 buzzer r13 10k 5% seg2 1 4 2 3 p2 tac t-2 iccc seg1 dig4 1 4 2 3 p3 tact-2 1 4 2 3 p4 tac t-2 r5 10k 5% seg2 dio 1 4 2 3 p5 tac t-2 +vdd r6 10k 5% dig1 seg3 i2cd seg3 dig3 irq iccd seg1 i2cc seg4 1 4 2 3 p6 tact-2 1 4 2 3 p7 tac t-2 tint 1 4 2 3 p8 tact-2 1 4 2 3 p9 tac t-2 i2cc 1 4 2 3 p10 tac t-2 clk stb dig3 seg5 seg5 seg4 buz +vdd seg6 rst seg7 clk seg6 seg8 stb pa2 q1 bc337 seg1 dio seg7 seg5 seg2 +vdd rst0 r8 10k 5% seg8 tp1 2 1 l1 33uh d7 stps340u c3 22nf 5v-30v r4 390 1% c1 10uf 35v seg3 d6 1n4007 c2 220pf r1 4k7 r2 15k 1% 1 2 3 j1 con3 r3 4k7 1% irq input seg4 r9 4k7 5% pa4 seg5 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 j3 con15 rst0 seg6 dig5 d 9 c 7 b 5 a 4 e 10 f 2 g 1 dp 6 a1 3 a2 8 dy1 common anode seg7 1 4 2 3 p1 tact-2 + c5 10uf 16v icc programmer 1 2 3 4 5 6 7 8 9 10 j2 con10a d 9 c 7 b 5 a 4 e 10 f 2 g 1 dp 6 a1 3 a2 8 dy2 common anode seg8 pa3 rst +vdd iccc d 9 c 7 b 5 a 4 e 10 f 2 g 1 dp 6 a1 3 a2 8 dy3 common anode out 1 sy nc 2 comp 4 fb 5 gnd 7 vcc 8 vref 6 inh 3 u4 l5970d tp3 pa4 i2cc i2cd rst0 pa3 pa2 +vdd md 1 tint gint md 2 key 1 key 1 + c4 100uf 16v key 2 dl1 dig6 dl2 +vdd md 1 dl3 dl4 dig1 i2c expander dl5 dl6 dl7 dl8 rst dl9 dl10 dl11 dl12 dl13 dl14 dig2 dl15 dl16 md2 dl17 dl18 dl19 dl21 dl20 dl22 dl23 dl24
bill of material AN2786 6/10 3 bill of material table 1. bill of material item qty reference part manufacturer 1 1 bz1 buzzer kpe242 2 1 c1 10 f 35 v smd epcos 3 1 c5 10 f 10 v smd epcos 4 1 c2 220 pf 0805 smd 5 1 c3 22 nf 0805 smd 6 1 c4 100 f 16 v smd epcos 7 2 c6, c7 100 nf 0805 smd 8 1 c8 10 nf 0805 smd 9 32 dl1-dl32 l-ltl4231n 10 3 dy1, dy2, dy3 hd-a552rd common anode 11 5 d1, d2, d3, d4, d5 1n4148 do-35 12 1 d6 1n4007 do-41 13 1 d7 stps340u stmicroelectronics 14 1 j1 k375a connector 15 2 j2, j5 mlw10g 10 pin connector 16 1 j3 bl815g 15 pin connector 17 1 j4 bl810g 10 pin connector 18 1 l1 do3316p-333mlb 33 h coilcraft 19 10 p1-p10 p-b1720c push-button 20 1 q1 bc337 to-92 21 3 r1, r10, r11 4k7 0805 smd 22 2 r3, r9 4k7 1206 smd 23 1 r2 15 k ? 1206 smd 24 1 r4 390 1206 smd 25 3 r5, r6, r8 10 k ? 1206 smd 26 4 r12, r13, r14, r15 10 k ? 0805 smd 27 1 tr1 smaj33a-tr transil tm stmicroelectronics 28 1 u2 st7fli49mk1t6 stmicroelectronics 29 1 u3 stled316smtr stmicroelectronics 30 1 u4 l5970d stmicroelectronics
AN2786 steval-ihi001v1 demonstration board photos 7/10 4 steval-ihi001v1 demonstration board photos figure 3. front view figure 4. angle view
references and related materials AN2786 8/10 5 references and related materials for further information related to the functionality of the devices mentioned in this application note, please refer to the following documents: 1. st7lite49m datasheet 2. stled316s datasheet 3. l5970d datasheet
AN2786 revision history 9/10 6 revision history table 2. document revision history date revision changes 16-jun-2008 1 initial release.
AN2786 10/10 please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. all st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a parti cular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. unless expressly approved in writing by an authorized st representative, st products are not recommended, authorized or warranted for use in milita ry, air craft, space, life saving, or life sustaining applications, nor in products or systems where failure or malfunction may result in personal injury, death, or severe property or environmental damage. st products which are not specified as "automotive grade" may only be used in automotive applications at user?s own risk. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or registered trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2008 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of AN2786

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X